package cn.s1995.sloth.bizs.service.impl;

import cn.s1995.sloth.bizs.entity.ApiLog;
import cn.s1995.sloth.bizs.mapper.ApiLogMapper;
import cn.s1995.sloth.bizs.service.ApiLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
/**
 * API日志
 *
 * @author Lex
 * @date 2024-05-18 07:02:13
 */
@Service
public class ApiLogServiceImpl extends ServiceImpl<ApiLogMapper, ApiLog> implements ApiLogService {
    @Async
    @Override
    public void saveLog(ApiLog entity) {
        this.save(entity);
    }
}
